package com.wmcsk.defaultImp;

import android.app.Dialog;

import com.wmcsk.interfaces.ChapinListener;

/**
 * Created by wm on 2017/7/18.
 */

public abstract class DefaultChapingAdapter implements ChapinListener{
    private Dialog dialog;
    public Dialog getDialog(){
        if(dialog == null){
            dialog = createDiaLog();
        }
        return dialog;
    }
    @Override
    public void onSuccess(Object type) {

    }

    @Override
    public void onNetWorkError() {

    }

    @Override
    public void threadError(int code, String message, Exception e) {

    }

    @Override
    public void noneDisplay() {

    }
    @Override
    public final boolean noNetworkShowAd() {
        return false;
    }

    @Override
    public boolean handleClick(String url) {
        return false;
    }
}
